package tmpl

const JavaEntityTmpl = `

public class {{Underline2BigCamelCase .TableName}} {
	{{range .TableFields}}
	private {{GetJavaType .FieldType}} {{Underline2CamelCase .FieldName}};
	{{end}}

	{{range .TableFields}}
	public void set{{Underline2BigCamelCase .FieldName}}({{GetJavaType .FieldType}} {{Underline2CamelCase .FieldName}}) {
		this.{{Underline2CamelCase .FieldName}} = {{Underline2CamelCase .FieldName}};
	}

	public {{GetJavaType .FieldType}} get{{Underline2BigCamelCase .FieldName}}() {
		return this.{{Underline2CamelCase .FieldName}};
	}
	{{end}}
}`
